MailPoet\AutomaticEmails\WooCommerce\Events\PurchasedProduct S

Total Complexity 21
Dependencies 14
Dependents 3
Total lines 200
Lines of code 156
Logical lines of code 59
Comment lines 11
Methods 7
Properties 5

Methods 7

Method Rating Maintainability Complexity Lines of code
scheduleEmailWhenProductIsPurchased()
A
43 8 50
getProductIdsMatchingNewsletterTrigger()
S
63 4 9
getProducts()
S
53 2 25
getEventDetails()
S
48 1 37
init()
S
58 2 17
__construct()
S
64 2 10
metaModifier()
S
67 2 8